#include <stdio.h>
//编写一个程序打印摄氏温度转换为相应华氏温度的转换表

int main()
{
    float fahr, celsius;
    int lower, upper, step;

    lower = -100;       //温度表最低温度
    upper = 200;        //温度表最高温度
    step = 20;          //步长

    celsius = lower;
    printf("Celsius Fahr\n");
    while(celsius <= upper)
    {
        fahr = (9.0)/(5.0) * celsius + 32.0;
        printf("%6.0f %3.1f\n", celsius, fahr);
        celsius += step;
    }

    return 0;
}